﻿//var gobalAddr=document.domain+':'+location.port;
var gobalAddr="whfw.superlib.com:9034";
function  isNull(v) {
    if(v==null||v==""){
        v=0;
    }
    return v;
}
$(function(){
	//加载第一屏到馆数据
});



//上面地图动效
var pro_time=null,pro_index=0;
function pro_move(){
    clearTimeout(pro_time);////清除整体控制量级变化的定时器
    //$('.site:eq(' + pro_index + ')').show().siblings().hide();
    //$('.site:eq(' + pro_index + ')').fadeIn(1000);
    $('.site:eq(' + pro_index + ') img').animate({width:"1rem"},2000,"linear");
    $('.site:eq(' + pro_index + ') span').animate({opacity:1},2000,"linear");

    pro_index++;
    if(pro_index==10){
        pro_index=0;
        //$('.site').hide();
        $('.site img').animate({width:"0"},2000,"linear");
        $('.site span').animate({opacity:0},2000,"linear");
    }
    pro_time=setTimeout(pro_move,3000);
}
setTimeout(function(){pro_move()},2000);







